package com.whsxt.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-03-30 11:11
 * @Description:
 */
@Data
@ConfigurationProperties(prefix = "ailipay")
public class AliPayProperties {

    /**
     * 网关
     */
    private String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

    /**
     * 商户appid
     */
    private String appId;

    /**
     * 商户私钥
     */
    private String merchantPrivateKey;

    /**
     * 阿里支付的公钥
     */
    private String alipayPublicKey;

    /**
     * 回调地址
     */
    private String notifyUrl;

    /**
     * 返回地址
     */
    private String returnUrl;

    /**
     * 加密方式
     */
    private String signType = "RSA2";


}
